/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package matpred;

import bdl.TeamBean;
import entities.Team;
import java.util.List;

/**
 *
 * @author Demola
 */
public class MatchPredict {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        MainPanel.getMainPanel().setVisible(true);

        matchPanel = MatchPanel.getMatchPanel();
        teamPanel = TeamPanel.getTeamPanel();

    }
    
    

    private static MatchPredict mp;

    private static MatchPanel matchPanel;
    private static TeamPanel teamPanel;

    private static List<Team> teamList;

//    public static MatchPredict getMatchPredict(){
//        if(mp == null){
//            mp = new MatchPredict();
//        }
//        return mp;
//    }

    public static List<Team> getTeamList(){
        if(teamList == null){
            teamList = TeamBean.getAllTeams();
        }
        return teamList;
    }
    


}
